/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.domain;

import commonlib.domain.Corpus;
import nominalitzacions.stubs.Rules;
import nominalitzacions.stubs.Dictionary;

/**
 *
 * @author marc.mauri
 */
public class ActiveLanguage extends LanguageState {

    private static final ActiveLanguage al = new ActiveLanguage();
    private Dictionary infDico = new Dictionary();
    private Dictionary irregDico = new Dictionary();
    private Dictionary nameDico = new Dictionary();
    private Corpus corpus = new Corpus();
    private Rules rules = new Rules();

    private ActiveLanguage() {

    }

    public static ActiveLanguage getInstance() {
        return al;
    }

    public Dictionary getInfDico() {
        return infDico;
    }

    public void setInfDico(Dictionary infDico) {
        this.infDico = infDico;
    }

    public Dictionary getIrregDico() {
        return irregDico;
    }

    public void setIrregDico(Dictionary irregDico) {
        this.irregDico = irregDico;
    }

    public Dictionary getNameDico() {
        return nameDico;
    }

    public void setNameDico(Dictionary nameDico) {
        this.nameDico = nameDico;
    }

    public void setRules(Rules rules) {
        this.rules = rules;
    }

    public Rules getRules() {
        return rules;
    }

    public Corpus getCorpus() throws UnsupportedOperationException {
        return corpus;
    }

    public void setCorpus(Corpus corpus) throws UnsupportedOperationException {
        this.corpus = corpus;
    }

}
